<?php
defined('IN_TS') or die('Access Denied.');
$path=array('app','group','thread',$strTopic['thread_type']);
$data=explode(',', $strTopic['content']);
if($data[6]=='juhe'){
	//贴内聚合
	$thread= $db->fetch_all_assoc("select * from ".dbprefix."group_topics where thread_type='music'");
	foreach($thread as $key=>$val){
	$j[]=explode(',',$val['content']);
	if($j[$key][4]!=$data[4]) unset($thread[$key]);
	if($j[$key][1]==$data[1]) unset($thread[$key]);

	}
}
include template('topic',NULL,$path); 